package com.daoos.swagger;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface Snippet {

	String httpMethod() default "GET";

	String url() default "/";

	String mediaType() default "application/x-www-form-urlencoded";

	// 用于生成片断的类，需要是test.doc.swagger.snippet.Snippet类的实现
	Class snippetClass();
}
